﻿<script type="text/mustache-template" id="InvoiceTemplate">
     <div id="MyInvoice">
        {{>header}}
        <div class="scroll-wrapper" id="MyInvoiceWrapper">
            <div class="scroll-inner">
                <div class='innerTitle'>发票信息</div>
                <div class='myinvoice pad-6'>
                    <ul>
                        <li>
                            是否开据发票
                            <span class='toggle'>
                            <input type="checkbox" checked="checked"/>
                            </span>
                        </li>
                    </ul>

                    <div class='invoiceTemplate'>
                        <h3>发票类型</h3>
                        <div class='invoiceTypeList'>
                        
                        </div>
                        
                        <h3>发票抬头</h3>
                        <input type="text" id="invoice_headertype" class="common-input" autocomplete="off">
                        <span style="color:red;float:none;">*</span><br>
                        <label id="head_error" style="color:red"></label>
                        <h3>发票内容</h3>
                        <input type="text" id="invoice_content" class="common-input" autocomplete="off">
                        <span style="color:red;float:none;">*</span><br>
                        <label id="content_error" style="color:red"></label>
                    </div>

                    <div><input type="submit" id="InvoiceBtn" name="InvoiceBtn" value='确认' class='ui-button'/></div>
                </div>
            {{>footer}}
            </div>
        </div>
    </div>
</script>
<script type="text/mustache-template" id="InvoiceTypeTemplate">
    <ul>
        {{#invoicetypes}}
        <li>
            <input type="radio" name="invoicetype" checked="checked" id='invoicetype_{{id}}' value='{{id}}' autocomplete="off">
            <label for='invoicetype_{{id}}'>{{type}}</label>
        </li>
        {{/invoicetypes}}
    </ul>
</script>
